﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Telerik.Web.UI;
using System.Web.UI.WebControls;

namespace webAppDemo
{
    public class RadDummyPanel : RadPanelItem
    {
        public Literal CurrentControl { get; set; }
        protected override void OnPreRender(EventArgs e)
        {
            base.OnPreRender(e);
        }
        protected override void Render(System.Web.UI.HtmlTextWriter writer)
        {
            if (CurrentControl != null)
                CurrentControl.RenderControl(writer);            
        }
        
    }
}